package com.easyadmin.pro.modules.sys.vo;

import com.easyadmin.pro.common.vo.RouterTree;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * packageName com.easyadmin.pro.modules.sys.vo
 *
 * @author 骑着蚂蚁去上天
 * @version JDK 17
 * @className LoginResultVo
 * @date 2024/4/8
 * @description 用户登录信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class LoginResultVo {

    private String token;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long userId;

    private List<RouterTree> routerTree;
}